package com.zhiyou.list;

import java.time.DayOfWeek;
import java.time.LocalDate;
import java.util.ArrayList;

public class count {

	public static void main(String[] args) {
		
//		ArrayList list = new ArrayList();
//		
//		list.add(4);
		
//		list.add("张三");
//		list.add("王五");
//		int a=25;
//		a+=17;
		
//		System.out.println(a);
		
		LocalDate today = LocalDate.now(); 
		int year = today.getYear();
		int month = today.getMonthValue();
		int day  = today.getDayOfMonth();
		DayOfWeek dayWeek =today.getDayOfWeek();
		int firstDayWeek = today.lengthOfMonth();
		 
		System.out.println(year);
		System.out.println(month);
		System.out.println(day);
		System.out.println(dayWeek);
		System.out.println(firstDayWeek);

	}
}
